home *** CD-ROM | disk | FTP | other *** search
- Path: engnews1.Eng.Sun.COM!taumet!clamage
- From: Randy Merkel <rmerkel@acm.org>
- Newsgroups: comp.std.c++
- Subject: What does auto_ptr<T>::reset () do?
- Date: 17 Apr 1996 14:57:33 GMT
- Organization: Clover Software
- Approved: clamage@eng.sun.com (comp.std.c++)
- Message-ID: <31746C4E.7D50@acm.org>
- NNTP-Posting-Host: taumet.eng.sun.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset="us-ascii"
- Content-Transfer-Encoding: 7bit
- X-Nntp-Posting-Host: ad40-175.compuserve.com
- X-Mailer: Mozilla 2.0 (Win95; I)
- X-Lines: 17
- Content-Length: 324
- Originator: clamage@taumet
-
- Howdy,
-
- The April 1995 working paper does not [IMHO] explain what:
-
- 1. auto_ptr<T>::reset () does with its current value, i.e., does it
- delete it?
- 2. it [reset] returns.
-
- Does anybody have the answers?
-
- Thanks,
-
- -- Randy
-
- ====================================================================
- Randy Merkel o-
- rmerkel@ACM.org
-
-
- [ comp.std.c++ is moderated. To submit articles: try just posting with ]
- [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
- [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
- [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
- [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
-